package com.bdqn.t382.practice2;


public class Cartridge {

    private String color;   //颜色

    public Cartridge(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "Cartridge{" +
                "颜色='" + color + '\'' +
                '}';
    }

    public String getColor() {
        return color;
    }
}
